package top.whysu.edevice.dto.manage;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 凭证管理--关联账号，分页返回结果
 */
public class AssignAccountPageDTO {
    //rva.id as relative_id, rva.account_id, rva.voucher_id, a.username, a.realname, r.id as role_id, r.role_name
    /**
     * 凭证-账号关联关系表的id
     */
    private BigDecimal relativeId;
    /**
     * 凭证-账号关联关系创建时间
     */
    private Date createTime;
    /**
     * 凭证-账号关联关系创建者
     */
    private String createBy;
    /**
     * 账号Id
     */
    private BigDecimal accountId;
    /**
     * 凭证组id
     */
    private BigDecimal voucherId;
    /**
     * 账号
     */
    private String username;
    /**
     * 昵称
     */
    private String realname;
    /**
     * 角色id
     */
    private BigDecimal roleId;
    /**
     * 角色名称
     */
    private String roleName;

    public BigDecimal getRelativeId() {
        return relativeId;
    }

    public void setRelativeId(BigDecimal relativeId) {
        this.relativeId = relativeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public BigDecimal getAccountId() {
        return accountId;
    }

    public void setAccountId(BigDecimal accountId) {
        this.accountId = accountId;
    }

    public BigDecimal getVoucherId() {
        return voucherId;
    }

    public void setVoucherId(BigDecimal voucherId) {
        this.voucherId = voucherId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public BigDecimal getRoleId() {
        return roleId;
    }

    public void setRoleId(BigDecimal roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
